# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
#
# This PKGBUILD was extracted from AUR and adapted to our style
#
# Old Maintainer: Nissar Chababy <funilrys at outlook dot com>

pkgname=ckbcomp
_pkgname=console-setup
pkgver=1.207
pkgrel=4
pkgdesc='Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol.'
arch=('any')
url='http://anonscm.debian.org/cgit/d-i/console-setup.git'
license=('GPL2')
depends=('perl')
source=("http://ftp.de.debian.org/debian/pool/main/c/console-setup/${_pkgname}_${pkgver}.tar.xz")
sha512sums=('0652b43c2488246e5bf7fac7ad5dc7986ba0ae832ae2179d2ade14da0412639f9055216e6a5e73a7a7c682d4e606441bf3a24dd5dbce0c3b0aff8416571587e5')

package() {
  cd "$_pkgname-$pkgver"

  install -Dm 755 "Keyboard/$pkgname" "$pkgdir/usr/bin/$pkgname"
}

